home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / DistributedEO / Employee.h < prev    next >
Encoding:
Text File  |  1995-02-17  |  854 b   |  42 lines

  1. // Employee.h
  2. // 
  3. // Created on Fri Jan 13 15:56:20 PST 1995 by NeXT EOModeler.app Version 71
  4. /*
  5.    modified by enoyau
  6.  
  7.    You may freely copy, distribute, and reuse the code in this example.
  8.    NeXT disclaims any warranty of any kind, expressed or implied, as to its
  9.    fitness for any particular use.
  10. */
  11.  
  12. #import <eoaccess/eoaccess.h>
  13.  
  14. @interface Employee : NSObject
  15. {
  16.     NSString *address;
  17.     NSString *city;
  18.     int dept_id;
  19.     int emp_id;
  20.     NSString *first_name;
  21.     NSCalendarDate *hire_date;
  22.     NSString *last_name;
  23.     int manager;
  24.     NSString *phone;
  25.     double salary;
  26.     NSString *state;
  27.     int title_id;
  28.     NSString *zip;
  29.     id toJob_Title;
  30.     id toEmp_Photo;
  31.     NSData *photo;
  32.     NSString *lock;
  33. }
  34.  
  35. + (void)setLocalLockString:(NSString *)lockString;
  36. - (NSString *)lock;
  37. - (BOOL)isEditable;
  38. - (BOOL)isLocked;
  39. - lockImage;
  40.  
  41. @end
  42.